﻿<%@ Page Title="Lootpoints overview" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Overview.aspx.cs" Inherits="LootPoints.Pages.Overview" %>
<%@ Register TagPrefix="asp" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit"%>

<asp:Content ID="Content" ContentPlaceHolderID="ContentPlaceHolder" runat="server">
    
    <style type="text/css">
        #tableOverview {
            margin-top: 20px;
            margin-left: auto;
            margin-right: auto;
            width: 500px;
            text-align: center;
        }
        .headerRow {
            font-family: Constantia;
            font-weight: bold;
            font-size: 11px;
        }
        .Row {
            font-family: Constantia;
            font-weight: normal;
            font-size: 11px;
        }
        .modalBackground {
            background-color:#B8B8BF;
            filter:alpha(opacity=40);
            opacity:0.5;
        }
        .pnlLog {
            width: 405px;
            border: 1px solid Black;
            background-color: white;
            text-align: left;
            padding: 10px 10px 10px 10px;
        }
        .tbLog {
            font-family: Constantia;
            font-size: 11px;
            width: 400px;
            height: 300px;
            text-align: left;
        }
        .btnLog {
            font-family: Constantia;
            font-weight: normal;
            font-size: 11px;
            margin-top: 10px;
        }
        .tbFilter {
            font-family: Constantia;
            font-weight: normal;
            font-size: 11px;
            border: none;
            color: grey;
            text-align: inherit;
            margin-bottom: 5px;
        }
    </style>

    <div id="tableOverview">
        
        <p>
            <a href="Progress.aspx">Progress overview</a>
        </p>
        <p>
            <a><asp:LinkButton ID="lbtnAdmin" runat="server" Text="Admin" CausesValidation="false" ToolTip="Adminpage" OnClick="lbtnAdmin_Click" /></a>
                &nbsp;|&nbsp;
            <a><asp:LinkButton ID="lbtnLogin" runat="server" Text="Login" CausesValidation="false" ToolTip="Login" OnClick="lbtnLogin_Click" /></a>
            <a><asp:LinkButton ID="lbtnLogoff" runat="server" Text="Logoff" CausesValidation="false" ToolTip="Logoff" OnClick="lbtnLogoff_Click" /></a>
                &nbsp;|&nbsp;
            <a><asp:LinkButton ID="lbtnUpdate" runat="server" Text="Logfile" CausesValidation="false" ToolTip="Upload logfile" OnClick="lbtnUpdate_Click" /></a>
        </p>

        <asp:Table ID="table" runat="server" width="600px">
            <asp:TableRow>
                <asp:TableCell Width="100px" HorizontalAlign="Left"  ><asp:TextBox runat="server" CssClass="tbFilter" Width="090px" ID="tbFilterGR" OnTextChanged="tbFilterGR_TextChanged" CausesValidation="false" AutoPostBack="true" onclick="this.value=''" Text="filter..."/></asp:TableCell>
                <asp:TableCell Width="025px"></asp:TableCell>
                <asp:TableCell Width="150px" HorizontalAlign="Left"  ><asp:TextBox runat="server" CssClass="tbFilter" Width="145px" ID="tbFilterCH" OnTextChanged="tbFilterCH_TextChanged" CausesValidation="false" AutoPostBack="true" onclick="this.value=''" Text="filter..."/></asp:TableCell>
                <asp:TableCell Width="075px" HorizontalAlign="Center"><asp:TextBox runat="server" CssClass="tbFilter" Width="070px" ID="tbFilterEP" OnTextChanged="tbFilterEP_TextChanged" CausesValidation="false" AutoPostBack="true" onclick="this.value=''" Text="filter..."/></asp:TableCell>
                <asp:TableCell Width="075px" HorizontalAlign="Center"><asp:TextBox runat="server" CssClass="tbFilter" Width="070px" ID="tbFilterGP" OnTextChanged="tbFilterGP_TextChanged" CausesValidation="false" AutoPostBack="true" onclick="this.value=''" Text="filter..."/></asp:TableCell>
                <asp:TableCell Width="075px" HorizontalAlign="Center"><asp:TextBox runat="server" CssClass="tbFilter" Width="070px" ID="tbFilterPR" OnTextChanged="tbFilterPR_TextChanged" CausesValidation="false" AutoPostBack="true" onclick="this.value=''" Text="filter..."/></asp:TableCell>
                <asp:TableCell Width="025px"></asp:TableCell>
                <asp:TableCell Width="075px" HorizontalAlign="Center"><asp:TextBox runat="server" CssClass="tbFilter" Width="070px" ID="tbFilterRS" OnTextChanged="tbFilterRS_TextChanged" CausesValidation="false" AutoPostBack="true" onclick="this.value=''" Text="filter..."/></asp:TableCell>
            </asp:TableRow>
            <asp:TableHeaderRow CssClass="headerRow">
                <asp:TableHeaderCell Width="100px" Text="Group" HorizontalAlign="Left" />
                <asp:TableHeaderCell Width="25px" />
                <asp:TableHeaderCell Width="150px" Text="Character" HorizontalAlign="Left" />
                <asp:TableHeaderCell Width="75px" Text="EP" HorizontalAlign="Center" />
                <asp:TableHeaderCell Width="75px" Text="GP" HorizontalAlign="Center" />
                <asp:TableHeaderCell Width="75px" Text="PR" HorizontalAlign="Center" />
                <asp:TableHeaderCell Width="25px" />
                <asp:TableHeaderCell Width="75px" Text="RS" HorizontalAlign="Center" />
            </asp:TableHeaderRow>
        </asp:Table>

        <asp:ModalPopupExtender ID="mpeLog" runat="server" TargetControlID="lbtnInvisible" PopupControlID="pnlLog" BackgroundCssClass="modalBackground"></asp:ModalPopupExtender>
        <asp:Panel ID="pnlLog" runat="server" CssClass="pnlLog">
            <asp:TextBox ID="tbLog" runat="server" CssClass="tbLog" TextMode="MultiLine" /> 
            <div>
                <div style="float:left;">
                    <asp:Button ID="btnOK" runat="server" Text="OK" Width="70px" CssClass="btnLog" OnClick="btnOK_Click" />
                </div>
                <div style="float:right;">
                    <asp:Button ID="btnCancel" runat="server" Text="CANCEL" Width="70px" CssClass="btnLog" OnClick="btnCancel_Click" />
                </div>
            </div>
        </asp:Panel>
        <asp:LinkButton ID="lbtnInvisible" runat="server" CausesValidation="false" Text="" />
        <asp:Label ID="lblStatus" runat="server" />
    </div>

</asp:Content>
